<script type="text/javascript">
	$(function() {
		$( "#dialog-confirm" ).dialog({
			autoOpen: false,
			resizable: false,
			height: 150,
			width: 300,
			modal: true
		});
		
		$( "#dialog-information" ).dialog({
			autoOpen: false,
			resizable: false,
			height: 250,
			width: 400,
			modal: true
		});
	});
	var okButtonLabel = '<%=BundleUtil.getInstance().getKey("button.ok")%>';
	var cancelButtonLabel = '<%=BundleUtil.getInstance().getKey("button.cancel")%>';
	
	var cancelUserDetailTitle = '<%=BundleUtil.getInstance().getKey("dialog.confirmExitUserDetail.title")%>';
	var cancelUserDetailMessage = '<%=BundleUtil.getInstance().getKey("dialog.confirmExitUserDetail.message")%>';
	var cancelRegisterUserTitle = '<%=BundleUtil.getInstance().getKey("dialog.confirmExitRegisterUser.title")%>';
	var cancelRegisterUserMessage = '<%=BundleUtil.getInstance().getKey("dialog.confirmExitRegisterUser.message")%>';
	var cancelMenuDetailTitle = '<%=BundleUtil.getInstance().getKey("dialog.confirmExitMenuDetail.title")%>';
	var cancelMenuDetailMessage = '<%=BundleUtil.getInstance().getKey("dialog.confirmExitMenuDetail.message")%>';
	var cancelCategoryDetailTitle = '<%=BundleUtil.getInstance().getKey("dialog.confirmExitCategoryDetail.title")%>';
	var cancelCategoryDetailMessage = '<%=BundleUtil.getInstance().getKey("dialog.confirmExitCategoryDetail.message")%>';
	var deleteCategoryDetailTitle = '<%=BundleUtil.getInstance().getKey("dialog.confirmDeleteCategoryDetail.title")%>';
	var deleteCategoryDetailMessage = '<%=BundleUtil.getInstance().getKey("dialog.confirmDeleteCategoryDetail.message")%>';
	var cancelSubCategoryDetailTitle = '<%=BundleUtil.getInstance().getKey("dialog.confirmExitSubCategoryDetail.title")%>';
	var cancelSubCategoryDetailMessage = '<%=BundleUtil.getInstance().getKey("dialog.confirmExitSubCategoryDetail.message")%>';
	var deleteSubCategoryDetailTitle = '<%=BundleUtil.getInstance().getKey("dialog.confirmDeleteSubCategoryDetail.title")%>';
	var deleteSubCategoryDetailMessage = '<%=BundleUtil.getInstance().getKey("dialog.confirmDeleteSubCategoryDetail.message")%>';
	var cancelMedicineDetailTitle = '<%=BundleUtil.getInstance().getKey("dialog.confirmExitMedicineDetail.title")%>';
	var cancelMedicineDetailMessage = '<%=BundleUtil.getInstance().getKey("dialog.confirmExitMedicineDetail.message")%>';
	var deleteMedicineDetailTitle = '<%=BundleUtil.getInstance().getKey("dialog.confirmDeleteMedicineDetail.title")%>';
	var deleteMedicineDetailMessage = '<%=BundleUtil.getInstance().getKey("dialog.confirmDeleteMedicineDetail.message")%>';
</script>

<div id="dialog-confirm" title="">
    <p><span class="ui-icon ui-icon-alert" style="float: left; margin: 0 7px 20px 0;"></span><label></label></p>
</div>

<div id="dialog-information" title="">
	<div><spring:message code="application.title"/>&nbsp;<spring:message code="application.version"/></div>
	<br>
	<div><spring:message code="application.introduce"/></div>
	<br>
	<div><spring:message code="application.author"/></div>
</div>